#ifndef POTENTIOMETER_H
#define POTENTIOMETER_H
#include <TimerListener.h>
#include "PotentiometerListener.h"

class Potentiometer : public TimerListener {
  public:
    Potentiometer(PotentiometerListener* potentiometerListener, int potentiometerPort);  /* Constructor */
    /* Methodes */
    virtual void timerCallbackFunction(int eventId);
  
  private:
    /* Attributs */
    int m_potentiometerPort;
    int m_value;
    PotentiometerListener* m_potentiometerListener;
};

#endif /* POTENTIOMETER_H */
